datos = [0.25     2
	0.50     4
	0.75     6
	1.00     8
	1.25    10
	1.50     6
	1.70     2];

datosUsar = datos(:,1)./datos(:,2);
%intervalos = [min(datosUsar):(min(datosUsar)+max(datosUsar))/length(datosUsar):max(datosUsar)];
intervalos = [min(datosUsar):0.125:max(datosUsar)];
%hist (datosUsar, intervalos);

% Cuantiles QQ
% Uso datosUsar

sort(datosUsar);		% 1er paso: Los ordeno de menor a mayor
J = [];

for j = 1:length(datosUsar)
	J(j) = (j - 0.5)/length(datosUsar);
end

% Formula de F^-1 : -lambda*log(1-(y-0.5)/n)
lambda = 1.0;
j = [1:length(datosUsar)];

F_1 = -lambda * log(1-(j-0.5)./length(datosUsar));

plot(datosUsar, F_1, '*');

